FROM hutong236/myweb_python3:latest
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip3 install --upgrade pip -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com&&pip3 install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
COPY . .
EXPOSE 80
CMD ["python3", "manage.py", "runserver", "0.0.0.0:80"]
